x86emul: support XSETBV
authorJan Beulich <jbeulich@suse.com>
Fri, 30 Sep 2016 12:57:59 +0000 (14:57 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 30 Sep 2016 12:57:59 +0000 (14:57 +0200)
commit2257f8409f11714938d89c15ccabb22fc4b67ce9
treec6e8e919cfa818d5d1fda32f8039d6ff0501764f
parent933acddf74213f77a5adbb2c10ccd3f72634d456
x86emul: support XSETBV

This is a prereq for switching PV privileged op emulation to the
generic instruction emulator. Since handle_xsetbv() is already capable
of dealing with all guest kinds, avoid introducing another hook here.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
tools/tests/x86_emulator/x86_emulate.c
xen/arch/x86/x86_emulate.c
xen/arch/x86/x86_emulate/x86_emulate.c